FELIX-3666 move workaround for framework bug to the isFragment bundle to apply it where the framework bug appears