Fixed ios8 viewport compability issue