So your desktop resolution is 1280x1024, WA frontend resolution 1280x1024 and in-game resolution 1024x768?
Try these
[Misc]
EnableModule=1
Resolution=Custom
CustomWidth=1280
CustomHeight=1024
You do know that your in-game resolution could be 1280x1024 as well (or any 16:9 resolution for example), right?