Fix #38 bug in hexbin plugin.