Panel: fix fullscreen/edit view and page refresh when panel is in collapsed/hidden row, Fixes #992