Disable panel autohide during panel-edit-mode

Closes #2232