Fixed problem with control panel visibility