Why is this needed now? Won't the initial resize happen automatically?