fix camera pos conversion