Fixed image pixel order problem.