This problem is caused by the Fullscreen mode 'Scale inner/outer'. This changes the aspect ratio of the visible canvas. The actual viewport size is still valid and always stays in the middle of the visible canvas. The wider you draw the window, the farther the text goes to the middle.
Either you change the fullscreen mode into 'Letterbox (integer) scale' to keep the aspect ratio or you add this action to your game (this has worked for me at least):
The '6' in this expression is your HUD layer.