Bugs with getting and setting orientation.