shitty map collision detection.