Fixed transparency handling.