Steps to reproduce:
1. Start portal and login.
2. Press the simulation button.
3. Press Auto Size button to close the panel.
4. Press simulation button again.
There should be one simulation panel.
There are two simulation panel.
Note: It could be solved by refreshing the page.