Fixed a Android framework restoring inner fragments bug.