Fixed rectangle-circle collision

I should probably just look for a dedicated geometry library. No point
reinventing the wheel for something that already has a jet engine.