Yeah, that's because it's not a maximise button. It's the button that adjusts the window size to the content size.
At least, that's what it used to be. They changed the default behavior to 'fullscreen' because all the people coming from Windows thought that's what the button should do...