Ensure selected view controller has correct frame before displaying