Mysterious panning in edit view

When you are working in multiple master and change masters in edit view (command+1, 2,…), the view moves when something selected.

How to reproduce:

  1. Open an edit view. The file needs to be a multiple master.
  2. Select something. Just one node in one master is enough.
  3. Change masters, or better, cycle through them (command+1, 2, 1, 2,…). You’ll see that the view is moving out, and a bit annoying when you’re working on that particular part.

When you have nothing selected, this doesn’t happen when nothing is selected.