Fixed a display blink when calling setDisplayedChild() with the same value.