card behaviour changes when it's image loaded