fixed segment scaling issue
Merge pull request #19 from Kunstmaan/bugfix/segment-issues

fixed segment scaling issue