This should prevent users from setting the height of the main window to nonsensical values, 350px is just enough to display at least an album icon in the album view, or three songs in the songs view.
Example: