Fix displaying energy bar