Fixed drawing of bars.