Fixes a display glitch