Fix the webGL and SDL2 renderer's stencil and depth buffers
Merge pull request #218 from mrcdk/fix_renderer

Fix the webGL and SDL2 renderer's stencil and depth buffers