Removed normalcomposite that doesn't handle alpha. Use AlphaComposite instead.