on panic, it's hard to determine where the NaN values are. I think this check should be done in the drawer's methods.