Recentering viewer when resizing even when it is disconnected.