A bug with wrong texture deleted when canvas is deleted.