fix bug where z-index 0 cards can't be moved