Workaround for an uncaught TypeError

Workaround for an uncaught clientside TypeError exception that is thrown from GWT's java.lang.String when clicking on SVG image elements and having a PopupButton somewhere in the UI.