Fixed WriteQt pixel ordering