fix translation incorrect when calling setCameraPosition directly