Fixed colour shift issue in JPNGTool