Fixed issue where player could slide off of the edges of tiles after jumping