Fix collisions between rectangle and circle