Added support for Pointer Lock API.