Delete WebGL buffers

The WebGL image replay creates WebGL textures and buffers. Right now textures only are delete when the replay object is not needed anymore. With this PR buffers are deleted as well.