Improved way the size of points and lines are calculated when style.linewidth is used. Another fix to polygon sorting.