Added a text anchor and changed the dx to be based off the width.