Fix size detect, Fix touch event