Much simpler pointer lock API for Firefox and Webkit browsers.