diff --git a/src/level/TMXLayer.js b/src/level/TMXLayer.js
index <HASH>..<HASH> 100644
--- a/src/level/TMXLayer.js
+++ b/src/level/TMXLayer.js
@@ -316,7 +316,7 @@
                 y = ~~(y + ay * (bh - height));
             }
 
-            renderer.globalAlpha(alpha * this.getOpacity());
+            renderer.setGlobalAlpha(alpha * this.getOpacity());
             renderer.translate(x, y);
             renderer.drawPattern(
                 this._pattern,
@@ -326,7 +326,7 @@
                 viewport.height - y
             );
             renderer.translate(-x, -y);
-            renderer.globalAlpha(alpha);
+            renderer.setGlobalAlpha(alpha);
         },
 
         // called when the layer is removed from the game world or a container
[#<I>] Proper fix for ImageLayer opacity

- This was broken by the ImageLayer refactor.
- Attempted fix was: b<I>d6ee3ca<I>def<I>f<I>f5c<I>d<I>d<I>c<I>