Currently, a time delay is used to circumvent this issue. However, the user has to wait for 0.5 seconds and this delay is kinda cringe. Find a way so that when something is displayed over the button when the user presses a button on that thing being displayed, it will not register as a click on the button behind the displayed object.