force width/height to not cause a dom exception for being the wrong size