Fix crash when image is nil (#10)
Fix crash when image is nil (#10)

* Convert `texture` property to optional

* Add `init` func default value for image parameter

* Set `texture` nil when image is nil

efremidze/Magnetic,efremidze/Magnetic