Fix layer/window rotation in rects view

Also fix label placement

Bug: 258782579
Test: open a WM and a SF trace and check the rects
Change-Id: I5e4b88482d212713fbbb385bfdb6ba390f639296
10 files changed