Do not call driver's paint from qw_op().
Made fix_av() static, called from qw_edit_paint().