Bug 1011262 - Making sure the layour manager is aware of the new active app before resizing it