getting rid of weird flash of outline on tap