Fix region clearRegionFills bug in state transition.