Merge pull request #603 from ndawe/master

Position boxes (like Legend) with pixels and set pad margins in pixels