fixed bug with marking level as changed for certain non-level-changing gadgets