diff --git a/layouts/shortcodes/world-map.html b/layouts/shortcodes/world-map.html
index 122c851..bd62579 100644
--- a/layouts/shortcodes/world-map.html
+++ b/layouts/shortcodes/world-map.html
@@ -96,7 +96,7 @@
var geoData = null;
function drawMap() {
- var ctx = canvas.getContext('2d');
+ var ctx = canvas.getContext('2d', { willReadFrequently: true });
var cw = canvas.width, ch = canvas.height;
// Transform from viewBox to canvas
var sx = cw / vb.w, sy = ch / vb.h;
@@ -216,7 +216,7 @@
var lat = 90 - (mapY / H) * 180;
// Use canvas isPointInPath for hit testing
- var ctx = canvas.getContext('2d');
+ var ctx = canvas.getContext('2d', { willReadFrequently: true });
var sx = canvas.width / vb.w, sy = canvas.height / vb.h;
for (var i = 0; i < countryPaths.length; i++) {
ctx.beginPath();