Move currentPose setup from webgl to fileView