Fix display issues on older android and safari