fix for ie8 negative width throwing an error