I would just add a condition to the bottom layer button checks, instead of "mouse clicks on button, perform actions" instead something like "Layer is Invisible + Mouse clicks on button - perform...