Fix display issues when zooming on mobile