hidepanelicon fix in MDL-48246.
Merge pull request #353 from gjb2048/master_MDL-48246

hidepanelicon fix in MDL-48246.