fix collision for axis aligned rectangle.

To care of collision from the inside