Fix batteries not charging in battery boxes.