Fix undefined var when row exceeded table width

If row width exceeded wanted table width an exception was thrown, but tried to use an non existing variable. Using style.width now instead.