fixes mouse raycaster slowdown