Fix invalid GL_enum
Assign image property after handleImage exectution
  * handleImage could create new object