Button Stacking issue

Hopefully someone can give me an answer without myself going into huge details. Here’s the basic problem. I have a Player Hand with buttons for drawing cards. When you click the button, the card appears on top of the button, which is what I want. However, when I put the windows on the Main Map windows and click the button, the button appears on top of the card. I tried moving the button definition to the top of the list, but that didn’t help.