BUG: fix path orientation for pixel paths