Fixed a flickering glitch