Fixed a crash due to releasing JSEImagePicker too early.