added button release outside range limits behavior