Fixed activeFragment not resetting properly.