Bug with touch screen and pop up window

If you use a touchscreen and you get a pop up such as this one:

or this one

And you press it then the underlying item that is behind the popup window is also selected.

This is very annoying. I then have to grab the mouse to select an item on the pop up window