Updated the position array width's to include the text size in calculation