Fix random display errors