• Fixes a bug causing Undo to fail after adding an Element layer