fixed the weird renderring bug

woohoo