Bug fix: setting orientation had no effect.