fix artifacting issue in bg webgl