Added a fix so that you can't stand up when there's not enough headroom
Also implemented a basic class for doing just collision detections without drawing