Accounting for spatial pattern when modeling organism‐environment interactions