Fixed projection matrix not being set correctly in the renderer, sped up returning entities from 3d physics collisions