Fixed drag
Attempt to typecast if pyobject is of wrong type