fixes issue with using a color resource where a brush is expected
updates the WindowCommands control template so as to use its ItemTemplate property value when rendering items