Fixes orphaned texture being used