Fix issue with ripple effect on card image