As expected, 1024x768 will be detected as 4:3 screen and the software will scale for this aspect ratio.
Your tv does it again, so try to set another format than 16:9.
Could you help me further ? Is it possible to force the Dreamstram software to show the picture in 4:3 ?