Fix orientation flips for demo