Fixed #291 (readonly custom menus become non-readonly when block is edited)