First deocding fix for #53 , rendered image is incorrect.