Need to trigger a repaint after setting width to auto