Fixed a weird crash relating to metadata on colored items.