Fix for debug toolbar to avoid adding "#" to URL after clicking