I have two overlapping elements, A and B. A has some buttons and tooltips, while B covers the entire screen to show something else. A is no longer visible in this case. However, the tooltips and buttons for A still work, even if there's not visibly anything there. How do I fix this?