Don't mess up the display when updateDisplay is given a negative top offset

Issue #2554