Avoid a crash when trying to drag widgets (not text) in non-default visual.