Fixing display order when printing