Dispose gdx resources if the fragment is being removed from its activity
or the activity is in the process of finishing.
Fixed an unforgivable mistake ^_^
Merge pull request #1684 from davebaol/fragment

Fragment Lifecycle: Hope Dies Last