Make minSize customizable

Previously, the minimum size a selection could be was set at five
pixels. This commit adds the ability to customize this value.