Fix activity handling of launch mode singleTask applications, like Unity