Stack level too deep when undoing a style delete #196