Fixed issues with text values and ensures that bars width/height is set.