fix selected view rotate bug