Adds some more collision detection.