Fix onstate switch appearing the the creative inventory