Fixed Safari layout issues