Fix texture deletion. v8.1.1 FINAL