Fix bug input in safari desktop