fix bug where center wasn't being tracked globally