Fix UI touch bug