Fixed editor wrongly executing undo operation when alt+z key combination gets pressed