Fixed a problem where resources wernt being destroyed correctly when screens were changed.