Reduce garbage generation
Add ol.extent.closestSquaredDistanceXY
Check closest point against extent