The same happens if you use a window manager add-on to resize windows to preset sizes, like gTile for Ubuntu. Even if you resize the window to fill the whole screen, it counts as "manually resized" and, thus, "not maximized".