(Partial update) Fix clipping area issue during window rotation