Line scaling hack for raphael. See https://github.com/DmitryBaranovskiy/raphael/pull/566
Add bounding box calculations and scaling to kicad fp viewer