Sometimes the viewport srWindow may report an invalid rectangle where the top row is below the bottom one.