Check the "scripts\game_daemon.script" file. There is a caption positioning code near the beginning of the script:
WinCaption.X = Game.MouseX;
WinCaption.Y = Game.MouseY + 20;
WinCaption.TextAlign = TAL_LEFT;
WinCaption.Text = ActObj.Caption;
You can modify the position appropriately.