Fixed error where validation was printing palette id instead of layer id