corrected paint widget