Fix DX9Ex crash introduced with multi-resolution options