Falling off the edge of a platform

Bug where the player can stick to the wall