fixing weird text spacing bug within magic box