Source image dimensions are cropped at 400x300 pixels

Since stats.js opens the image directly on a default phantom viewport, the dimensions are clipped at 400x300.

setting phantom viewport to a larger size fixes the issue.

PhantomJS won't fix this https://github.com/ariya/phantomjs/issues/10191, so we need to set viewportSize.