Fixed #1778

The panels were being asked to restore, but they thought they were visible already, so we reset before restoring.