Fixed Fragment crash when it was no longer in memory