Fixing progressive jpeg rendering, finally fix #53