Improvements to the Tile Detection and Collision.