Possible fix for Sandcastle resize race.
Merge pull request #618 from AnalyticalGraphicsInc/resize-race

Possible fix for Sandcastle resize race.