Performance improvement for resource card drawing