Fix text overlap bug