fix recursion error and hover blinking issue on map portlet (re #109)