Fix inner layout bug not displaying cards