Bugfix: If the resize of an AI (Vapp) fails, then make sure that the AI is brought
back from the "resize" to the "attached" state.