comitting rectangleCollision