Use the specified ItemTemplate in the WindowCommands control

Also fixes an issue with using a colour resource where a brush is expected