Fix incorrect painting by storing screen data and forcing update.