Fixed bug where any card could move to an empty layer