Update Linear.java

Fixed bug when setStartingFromZero() is true which resulted in bar of wrong size and starting from wrong position.