Fixed stupid bug that made it impossible to open cards