small fix for legend columns

* recalculate available width off of width not available width to get a
  more stable number