You are right neilo it is the facebook javascript that is causing the issue. On my work around i meant to completely replace the facebook share including with javascript include. The onclick event is probably going to be the fix to this issue.
jkul,
if you are still having an issue, can you please attach your page so i can look at the code you have on the page.
Thanks.