Fixes middle click in firefox