Adds support for limiting the coordinates for stick base.

Adds support for limiting the coordinates for stick base by setting
limitedBase to true providing either a limitMaxX, limitMaxY, limitMinX,
limitMinY, or any combination of the four.