Advertisements on Linux(Ubunta)

Why does a simple misclick cause an advertisement to be dismissed(and its not the x to close the notification)