fixed redraw issue after resize (only in v14)