Facing issue while adding click event to overlay screen in html

I have an overlay screen in the html above the phaser 3 game and there is click event been added to that overlay screen. But if try to click the overlay screen the background game object is also getting click in the phaser 3 game. But when i tried the same in phaser 2 game this issue is not occurring.

This issue persists after a release of 3.16.1 version and so on.Not occur in previous version.