fix paint widget