Resolves issue where canvas elements in drag layers were showing up blank. Fixes #788.