Correcting flyout behavior