CB-2292: Added a check for width and height. You can't scale nothing because you can't divide by zero.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-android