fixing set viewport issue

I have tested it with the code and instructions provided in:

https://github.com/substantial/node-phantom/commit/57aeb3bd27ef593c361427a6529b8ec856356365#commitcomment-3576889