Fix for incorrectly using clamped resolution when looking for framerate match