Fixed null ptr causing crash #DESURA-972