Undoing a brush stroke makes previous stroke change size