Made library less sensitive to unintended collapse.
Merge pull request #828 from kah-heng/LibraryUnintendedCollapsingFix_ChocoButterUI

Library unintended collapsing fix