Fixes the Panel resize and closes it when switching projects
Merge pull request #1 from TomMalbran/panel-fix

Fixes the Panel resize and closes it when switching projects