Fix for automatic recenter.