Added check for cards resized by styling