Fixed redo resize bug. I copied and pasted the resize code recklessly, and neglected to realize that the resize code interferes with the undo and redo canvas history