Fix a bug when rendering a full battery