Why does my selenium/appium based test fail to set the viewport size?