A check for whether the button is the maximize/restore button was still for the old syntax causing always the maximize button and never the restore to show. BUG: 354702 FIXED-IN: 5.4.3