fixed the odd artifiacts in webgl renderer