Fix problem with tap on white spaces