Fixed a bug in checkSlope that caused the game to crash when the player
walked off the edge of a platform