Basically I just got sick of accidentally opening the legacy tray, but I still wanted it there. So I just cranked up the threshold a bit.
The extension is licensed under LGPL 2.1 or later.
I essentially copied this from Jonny Lamb's extension Hide Legacy Tray extension.
You can install it here: http://extensions.gnome.org/extension/967