Don't throw if the caret overlay has already been removed

Various OdfCanvas and undo-related behaviours clear all children of the canvas. In this case, the caret that is going to be destroyed has already been removed. Just silently do nothing in this case.