Added pointer lock and fullscreen handling.