add WA_OpaquePaintEvent setting to keep the background when drawing