The algorithm of element visibility definition has been improved. Now it
takes to consideration element transparency.