[MapEditor] Fixed history for copy/paste and item removing.