Attempt to fix a possible crash with statue textures