fix bug in non-vr browsers