Add a mask view to deal with the tap out of the range.