Beautified the collision code for Rectangle

Signed-off-by: Malm