On Linux the default action for the middle button is to take whatever is currently on the clipboard as a url and try to visit it. It could be that some combination of system settings and mouse behavior is sending middle button click events to Firefox.
You could try going into about:config and changing the setting related to middlemouse.
Jay