better active/inactive window title color handling

the window title color and the border brush wasn't changed if the user change the accent or theme.
this commits will solve this.