Fixed error in text placement