fix health colour is changed one frame after a frame is shown