Decouple PointerLockControls from its example.

Closes #5566 .