fixed safari flickering