Make sure device rotation adjustments also get made when using rotation matrix calculations