Fixed first-frame draw glitch bug