fixed bug where it wouldn't respect the orientation override