WolRon #1 Hard code it. If the resolution width is twice the expected amount considering the vertical resolution, then divide the width by 4 instead of 2.