prevent bar filling from rendering negative positions