Fix buttons [open] state in inactive windows