Fixed issue on older Chrome versions on mobile where pinch zooming was broken. Closes #2143.