Fix quite a few transparency display and performance problems