Fixed canvas isn't cleared when adding a new blank frame
When create blank frame is clicked on animation docker having a keyframe selected, that is not the last frame in the timeline, the canvas is not cleared properly.
Note from Dmitry Kazakov: setDirty() should be called after the
actual device change has been done. Otherwise race condition may happen.