Simplified and optimised pointerlock example.