Set minimum size on window to prevent resize crash