Now a view will not lose focus if a click is made outside the container