Fixing problem with outerWidth not working all the time.