You can filter out 'odd' graphics modes with a simple check:
If GraphicsWidth() * 0.75 = GraphicsHeight() ;This is a valid mode Else ;This is NOT a valid mode EndIf