Many Floating View - > First Click don't work

Hi, first sorry for my bad English, I hope you can understand me.

I have make me a Dashboard replacement with BTT. IT works great but I have one fine tuning question.
I have 8 floating Webviews. The First is a dark transparent Background, and then SmartHome, SecurityCameras, Weather .... and a Button for Hidden Files.

My Problem is, I need first to select the Webview and make a second click that it react.

Example: I go with the cursor in the left Corner (as Trigger) and then my "Dashboard" wakes up. When I click now on the "Hidden Files" Button, it does nothing, I need to click a second time on the Button than it works.
The Same on the SmartHome Webview and others.

I have try with Z-Index so that all WebViews are on the same "Layer" but it does not work.

Is there a solution for my Problem?

Thank you very much

Dodo