Fix global leak in WebGL image layer test
Merge pull request #421 from tschaub/global-leak

Fix global leak in WebGL image layer test