Toolbar icons appear gray if the window has the wrong type:
vs.
how can I control this behavior for my own toolbars?