Fix #140 Guard against if the parent is not a Flyout