Removing unused graphics