fixed a bug with specific windows dont changing theme