Fixed ToggleButton to work with inaccessible scenery (master) branch