Tried to fix crashes in Media.Photo/NonLinear.