fix screenshot rotation bug in recent apps