Trigger when loading fragments Closes #2985.