Add an explicit resize of the viewer under Mac OS X (not needed on other platforms)