Propagate correct maximize mode to decorations
When the maximize mode changes from MaximizeFull to either MaximizeHorizontal or MaximizeVertical, (max_mode & MaximizeFull) will evaluate to true because MaximizeFull is defined as bitwise OR between MaximizeHorizontal and MaximizeVertical.