fixes broken pan min/max treatment; changes pan min/max default from `undefined` to `null`