Redo android opacity fix from e177f0a9f90cbee5fb6421ad004313bc2436baa4. Should probably submit this.