Fixed new layer undo bug
Delete undo's properly now