Fixed resize behavior to keep the small size.