Revert "framework: fix screenshot and rotation animation"

This reverts commit 8b08f5ae79419acb6c4697e2f187d4f41273ef97.
Revert "Improve screenshot animation glitch fix."

This reverts commit f0ff8ee3677e1feff65582d62cd9f0fcf68f215c.