Fix max health limit issue