MGFX hashCode

fix a serious bug with previous commit #2862 where the effect size was used as identifier instead of the actual hash code.