Bug on window is maximized

Operation incorrect, bug on set any option when window is maximized, the set of buttons is replaced.