Remove css with rendering issue in Safari