bug fix, hovered element also refreshed when mouse click