Rearranged some code in healthbar