Fixed bug caused the contextmenu of image-marker disappear