Added some player collision detection.