fix pointer lock in firefox