Fixed invert style for ios8