compiled version was not deleting the texture, hence generating a memory leak on remove