fix issue https://github.com/jamietre/ImageMapster/issues/136, i.e. manually merged changes from http://www.atlantischild.hu/wp-content/themes/act/js/jquery.imagemapster-mod.js