Fix Gridpaint zoom issue on Firefox OS