core: Add new context flag "redraw".