Fixed deadlock in rain sequencer when resolution was changed.