Ensure resize occurs initially.