solve a weird safari and clickToFlash bug