Fix crash when getting width of item with no bbox.