fix rendering of invisible bubble

Change-Id: Iee14035b44ef808cca2ee426684733f20c1771ac
fix another wrong transparency calculation

Change-Id: I963e6c69f34f07f797dd98810195fd58e79e494f