Fixed issue with allowOverflow option