pointer lock bugfix, shadowmap dispose bugfix