It happen to me the same way (the html link did not make the switch), I do not know if there an issue with the NextGen Gallery, but once I deactivated , it works for me ,what I did is to deactivaed all plugins and reactivated one by one then I found that did not work with the NetGen Gallery.
I do not saying that the plugin is the culprit, but just check it !
Regards