fix handling of click and release outside region