In `Layer::remove_frame` there is a case where the frame is not removed, but overridden by a null-frame. In this case, the frames map was not tagged, when it should have been.
In `Layer::remove_frame` there is a case where the frame is not removed, but overridden by a null-frame. In this case, the frames map was not tagged, when it should have been.