fix layers

- fixes issue where you can't click anything once opening a card