Leave this to do comment for this change:

TODO: This shouldn't be done here. When zoom/pan are folded into StateMachine, the StateMachine should explicitly request workspace view to hide away possible popup (such as info bubble or other transient display).