Fix ios8 Safari layering issues