Basic world collision detection.