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