Fixed bad logic in collision detection