Correction of multiple instance of wPaint