merge into webgl deallocation of textures
when removing children textures are deallocated in webgl renderer