Fix buttons hover state in inactive windows