Added method to set bilinear filtering in ShaderPainter.
Greatly improved WebGL memory usage.
[HTML5] Fixed isOpaque in some rare situations.