Fixed an issue where the canvas renderer displayed some weird effects in Chrome