Added allowPicking to primitive