fixed bug where texts were drawn over each other