Fix bug in player ceiling collision detection.