Touchpad middle click 2 second delay (Acer Nitro 5)

My touchpad has a weird 2 second delay when middle clicking that makes it pretty annoying to use. I mainly use it in browsers like Firefox to open links in new tabs and close tabs but it always takes an extra second with the touchpad, while my mouse does it instantly.