Fix hide battery icon bug