added Bounds2.getClosestPoint