diff --git a/guacamole-common-js/src/main/resources/layer.js b/guacamole-common-js/src/main/resources/layer.js index d91b8a4e4..8e016654e 100644 --- a/guacamole-common-js/src/main/resources/layer.js +++ b/guacamole-common-js/src/main/resources/layer.js @@ -1144,6 +1144,11 @@ Guacamole.Layer = function(width, height) { display.width = width; display.height = height; + // Explicitly render canvas below other elements in the layer (such as + // child layers). Chrome and others may fail to render layers properly + // without this. + display.style.zIndex = -1; + }; /**