Fixed issue where player could stand on the bottom of the map