fixed small render glitches