made sure it wont try and infer rotations when a view is added to another view. only do it when its added to a window
Merge remote-tracking branch 'origin/master'