improved button release outside range