Fixes #912, URL parameters are lost when switching to fullscreen/edit mode