Improve alpha handling.