Added text-anchor option to TextElements