Tweak the setWidth method