Rewritten bar rendering. Rather then constructing the bar from rectangles and arcs it is now one Shape for the bar and one Shape for the progress. Avoids cracks on certain resolutions and also the transpacreny issue if the progress is within the cap areas of the progress bar