fix issue #35: Box rectangle in view doesn't resize after Undo