Fix assert when manipulating animation frames
Every frame add/move/delete command issues canvas updates. We shouldn't
let these updates to run until all manipulations with m_frames are
finished. Otherwise there will be non-thread-safe access to frames
storage.
BUG:405723