diff --git a/python_payload/st3m/ui/view.py b/python_payload/st3m/ui/view.py
index 77ef56461dbfaae3f22f29b72c616889dbc95045..0f8ff1495c7ee5baf74e84f3066400b19ec5b92a 100644
--- a/python_payload/st3m/ui/view.py
+++ b/python_payload/st3m/ui/view.py
@@ -110,6 +110,8 @@ class ViewTransitionSwipeLeft(ViewTransition):
 
         ctx.save()
         ctx.translate(240 + transition * -240, 0)
+        ctx.rectangle(-120, -120, 240, 240)
+        ctx.clip()
         incoming.draw(ctx)
         ctx.restore()
 
@@ -129,6 +131,8 @@ class ViewTransitionSwipeRight(ViewTransition):
 
         ctx.save()
         ctx.translate(-240 + transition * 240, 0)
+        ctx.rectangle(-120, -120, 240, 240)
+        ctx.clip()
         incoming.draw(ctx)
         ctx.restore()