TASInputDlg: Pass string by reference for CreateStickLayout

Also handles strings passed to it correctly.