Fixes a crash in the following case: Enter sculpt mode -> draw face set -> draw sculpt -> undo * 3 -> redo * 3