Hide gui after leaving the editor

Fixes #2011