fixed a bug where things possibly couldn't still update
got map centering to work