Fixed HPMPBar bug which caused the bar behave badly