Fixing card resizing glitches