Fixing card position bug