Fix: resources leaked when set a style to occurrence cells/ranges.