Fix various MATH_AUTOMATIC_SSE build issues with MATH_GRAPHICSENGINE_INTEROP.
Optimize QuadTree insertion.