Fix the wrong position of ripple on mobile device.