Fix DOM width retrieval

See https://github.com/mrdoob/three.js/issues/3778#issuecomment-22919229

In Firefox the domElement.width can sometimes be undefined (when it's still defined in Chrome). This fix checks if it's undefined and, if so, uses domElement.body.clientWidth instead.