Fix resizing problem when App index.html 404's.
Fix resizing problem when App index.html 404's.

smart-classic/smart_sample_apps,smart-classic/smart_sample_apps,smart-classic/smart_sample_apps,smart-classic/smart_sample_apps,smart-classic/smart_sample_apps