PhantomJS screenshotting done right