Can't undo once I begin to move/resize objects

While you are dragging with the primary mouse button (usually the left button) depressed, if you press the alternate mouse button before you release the primary button, the action will be canceled.