Minor display-flicker bugfix

The new display format code introduced a race condition which caused
the display to occasionally flicker.  The flicker was so slight that I
did not notice the bug right away, and most people probably wouldn't
notice at all.  Regardless, this commit fixes the display flicker.