Adding support for polygon & polyline
Fixed nested transformation problem
Bug fixes related to transparency and "em" handling