fix bug with pointerlock stacking