8dc62e1db5
It's a bit late to be asserting during drawing. We'd need to know how the object was created to do anything about it.