fixed bug in phantom.js rasterize.js