Fixed bug which makes some pictograms stay in editmode when disabled