fix minor render glitch