fixed loosing inner reference when converting to ImagePath::Optimized
fixed loosing inner reference when converting to ImagePath::Optimized

ramiroaraujo/image_optim,printbear/image_optim,weheartit/image_optim,printbear/image_optim,toy/image_optim,ramiroaraujo/image_optim,mihailim/image_optim,mihailim/image_optim,weheartit/image_optim,ramiroaraujo/image_optim,weheartit/image_optim,mihailim/image_optim,toy/image_optim,toy/image_optim