Fixed infinite recursion in DisplayMode == operator