Fixes a bug where the viewport offset wasn't take into account.
Collision detection with environment tiles