Denominator locks when being dragged too low

also cleaned up the background colour specification to match the
unselected shaped rather than hard-coded white.