Fix overflowing text bug