use webkit api if pointer lock is enabled.
Merge pull request #38 from laszlokorte/pointer-lock-delta

use webkit api if pointer lock is enabled.