Added buttons for testing and fixed setSelectionColor. Also adjusted frame size to match.
limits the position of the selection knob within the active area shape (i.e within the gradient)
added the same limitation for the square shape