Grafana dashboard link cut off at the side of the screen

For a while now, we have this annoying issue where the drop down for links opens up and then moves past the side of the screen and gets cut off.
This happens on Linux (Ubuntu and Arch) and with Chrome and Firefox. Its a very handy feature and its annoying that it does this.
Any ideas on how to fix it?