fix crash bug when using [CXPhoto initWithImage:]
@thanks for report it from Paul Bicker.