Added check to prevent removing assets that were loaded by other screens