fixed safari rendering issues