Fixed occasional raycast causing lag