Fixed crashes during Instagram picture sharing