Draw glitch at image onload