Prevent edge events when the WebGL renderer is used