[DF-2509] Fix invalid copy\paste start point at the tilemask editor. Fix adding copy\paste undo actions when starting point is not set