Handled an overflow bug in DisplayHandler