Hi Frank,
No bug at all. This is just standard behavior of applications on OS X/macOS: Any application window can be minimized independently. The concept of main application window, as it exists on other platforms such as most UNIX/Linux desktop managers and Windows, does not exist on macOS, or at least it's very differently interpreted and implemented.