Left-aligned text with anchor at the center JavaScript

URL of experiment:

Description of the problem:
I added '“alignHoriz: ‘left’” into visual.TextStim() for a text stimuli and successfully got it left-aligned. However, the text box automatically moves to the right part of the screen and only shows half of it. I tried to fix it by adjusting the position parameter ([-0.6, 0] in my experiment). But I wonder if there is any way to set the anchor of the text box to center.

Since the alignment code has to be done in a Both code component, I now set the position to, e.g. [-.6,0] on the JS side to allow it to work locally and online.