Make DisplayMode.== not recursive. Fixes #2339
Merge pull request #2757 from danzel/fix-2339

Make DisplayMode.== not recursive